// components/navigationBar/navigationBar.js
Component({
  properties: {
    title:String,
    head:String
  },

  data: {
    // 状态栏高度
    statusBarHeight: String(getApp().globalData.statusBarHeight) + 'px',
    // 导航栏高度
    navigationBarHeight: String(getApp().globalData.navigationBarHeight) + 'px',
    // 胶囊按钮高度
    menuButtonHeight: String(getApp().globalData.menuButtonHeight) + 'px',
    // 导航栏和状态栏高度
    navigationBarAndStatusBarHeight:
      String(getApp().globalData.navigationBarAndStatusBarHeight) +
      'px'
  },


  methods: {
    handlePullSlide(){
      this.triggerEvent("PullSlide")
    }
  }
})
